import request from '@/utils/request'

// 分红统计(月)
export async function totalMonth(params) {
  const res = await request({
    url: '/Trade/totalMonth',
    method: 'post',
    params
  })
  return res
}

// 奖励记录日统计
export async function creditDay(params) {
  const res = await request({
    url: '/Trade/creditDay',
    method: 'post',
    params
  })
  return res
}

// 奖励记录明细
export async function creditDetailPage(params) {
  const res = await request({
    url: '/Trade/creditDetailPage',
    method: 'post',
    params
  })
  return res
}

// 挂买单交易 申诉订单处理
export async function TradeC2cBuyDealSet(params) {
  const res = await request({
    url: '/Trade/TradeC2cBuyDealSet',
    method: 'post',
    params
  })
  return res
}

// 挂卖单查询
export async function Getc2cSell(params) {
  const res = await request({
    url: '/Trade/Getc2cSell',
    method: 'post',
    params
  })
  return res
}

// 挂卖单交易 详情查询
export async function Getc2cSellDeal_my(params) {
  const res = await request({
    url: '/Trade/Getc2cSellDeal_my',
    method: 'post',
    params
  })
  return res
}

// 挂卖单交易 疑问订单处理
export async function TradeC2cSellDealSet(params) {
  const res = await request({
    url: '/Trade/TradeC2cSellDealSet',
    method: 'post',
    params
  })
  return res
}
